﻿using JNPF.Basics.Models.CodeBuilder.Template4;
using JNPF.Utils;
using System.Collections.Generic;

namespace JNPF.Basics.Models.CodeBuilder
{
    /// <summary>
    /// 流程表单配置
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// </summary>
    public class Template4HelperModel
    {
        /// <summary>
        /// 版本
        /// </summary>
        public string Version = ConfigurationKey.SoftVersion;
        /// <summary>
        /// 版权
        /// </summary>
        public string Copyright { get; set; }
        /// <summary>
        /// 创建人员
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public string CreateDate { get; set; }
        /// <summary>
        /// 所在区域
        /// </summary>
        public string AreasName { get; set; }
        /// <summary>
        /// 功能描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 功能类名
        /// </summary>
        public string[] ClassName { get; set; }
        /// <summary>
        /// 实体类字段
        /// </summary>
        public List<List<EntityFieldModel>> EntityFieldList { get; set; }
        /// <summary>
        /// 后端目录
        /// </summary>
        public string ServiceDirectory { get; set; }
        /// <summary>
        /// 前端目录
        /// </summary>
        public string WebDirectory { get; set; }
        /// <summary>
        /// 表单标题
        /// </summary>
        public string FormTitle { get; set; }
        /// <summary>
        /// 表单单据 - 单据规则
        /// </summary>
        public string FormBillNumber { get; set; }
        /// <summary>
        /// 数据关联 - 集合
        /// </summary>
        public List<Template4.DbTableRelationModel> DbTableRelation { get; set; }
        /// <summary>
        /// 表单控件 - 集合
        /// </summary>
        public List<FormControlModel> FormControls { get; set; }
    }
}
